//
//  SXSceneHelper.h
//  SXIotSDK
//
//  Created by admin on 2020/7/2.
//

#import <Foundation/Foundation.h>
#import "SXZKSceneInfo.h"
#import "SXZKSceneTask.h"
#import "SXZKSceneOrder.h"
#import "SXZKSceneCondition.h"

NS_ASSUME_NONNULL_BEGIN

@interface SXSceneHelper : NSObject

+ (void)runSoftScene:(NSInteger)sceneId zkId:(NSString*)zkId;
+ (void)runHardScene:(NSInteger)sceneId zkId:(NSString*)zkId;
+ (void)downTotalScene:(NSInteger)sceneId zkId:(NSString*)zkId callback:(void(^)(NSString* result, NSError* error))callback;
+ (void)getZKSceneList:(NSString*)zkId callback:(void(^)(NSArray<SXZKSceneInfo*>* result, NSError* error))callback;
+ (void)getZKSceneTaskList:(NSString*)zkId callback:(void(^)(NSArray<SXZKSceneTask*>* result, NSError* error))callback;
+ (void)getZKSceneConditionList:(NSString*)zkId callback:(void(^)(NSArray<SXZKSceneCondition*>* result, NSError* error))callback;
+ (void)getZKSceneOrderList:(NSInteger)sceneNum orderCount:(NSInteger)orderNum zkId:(NSString*)zkId callback:(void(^)(NSArray<SXZKSceneOrder*>* result, NSError* error))callback;
+ (void)clearZKCondition:(NSInteger)conditionNum zkId:(NSString*)zkId callback:(void(^)(NSString* result, NSError* error))callback;
+ (void)clearZKScene:(NSInteger)sceneNum zkId:(NSString*)zkId callback:(void(^)(NSString* result, NSError* error))callback;
+ (void)clearZKTask:(NSInteger)taskNum zkId:(NSString*)zkId callback:(void(^)(NSString* result, NSError* error))callback;
+ (void)runZKScene:(NSInteger)sceneNum zkId:(NSString*)zkId callback:(void(^)(NSString* result, NSError* error))callback;
+ (void)delSceneConditions:(NSArray<NSNumber*>*) conditionIds zkId:(NSString*)zkId callback:(void(^)(NSString* result, NSError* error))callback;

@end

NS_ASSUME_NONNULL_END
